/**
 * 管理员管理的api
 */
import request from '@/utils/request';

import type { loginFrom } from '@/type/admin';

export const checkLogin = ((data: loginFrom) => request.post('/admin/checkLogin', data));

export const authCode = (() => request.get('/admin/authCode'));
